package dominia.widgets;

import dominia.SWTMain;

import org.eclipse.swt.widgets.MessageBox;

public class AboutDialog extends SingletonDialog {

	private static MessageBox	dialog;

	private static String aboutMessage = "Authors:\n\tJean-Francois Brousseau";

	public static AboutDialog getInstance()
	{
		return (AboutDialog)SingletonDialog.getInstance(AboutDialog.class);
	}
	
	public void open()
	{
		dialog = new MessageBox(SWTMain.getTopShell());

		dialog.setMessage(aboutMessage);

		dialog.open();
	}
}